home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / Programming / THXPlayLib / developer / C / libraries / thxplay.h
Encoding:
C/C++ Source or Header  |  1998-06-05  |  1023 b   |  29 lines

  1. /*
  2. **    $VER: libraries/thxplay.h 5.2 (10.06.98)
  3. **
  4. **    A few simple facts about the THX module header.
  5. **
  6. **    (C) Copyright 1997-1998 Kyzer/CSG
  7. **    All Rights Reserved.
  8. */
  9.  
  10. #ifndef EXEC_TYPES_H
  11. #include <exec/types.h>
  12. #endif
  13.  
  14. #define THX_ID  (0x54485800)
  15. #define THX2_ID (0x54485801)
  16.  
  17. struct thxHeader {
  18.     ULONG thxh_id;   /* header ID (THX_ID or THX2_ID)                */
  19.     UWORD thxh_skip; /* skipvalue (ignore)                           */
  20.     UWORD thxh_len;  /* (thxh_len & 0xfff) = length of position list */
  21.                      /* ((thxh_len & 0x7000) >> 12) = cia speed      */
  22.                      /* ((thxh_len & 0x8000) != 0) = BOOL trk0here   */
  23.     UWORD thxh_res;  /* (thxh_res & 0xfff) = restart position        */
  24.     UBYTE thxh_trl;  /* length of each track                         */
  25.     UBYTE thxh_trk;  /* number of tracks                             */
  26.     UBYTE thxh_smp;  /* number of samples                            */
  27.     UBYTE thxh_ss;   /* number of subsongs                           */
  28. };
  29.